<?
######################################################################
if($HTTP_SERVER_VARS["HTTP_HOST"]=="localhost" or $HTTP_SERVER_VARS["HTTP_HOST"]=="127.0.0.1"):$dbhost = $HTTP_HOST;$dbuser = "root";$dbpassword = "horrible";$dbname = "recettes";
else: $dbhost = "217.195.182.4";$dbuser = "dan15281";$dbpassword = "horrible";$dbname = "dan15281_froggies";
endif;

$dbi=mysql_connect($dbhost, $dbuser, $dbpassword);
#echo mysql_errno(). ": ".mysql_error(). "<br>";
mysql_select_db($dbname,$dbi);
#echo mysql_errno(). ": ".mysql_error(). "<br>";
######################################################################
?>
